﻿<Page x:Class="University.Workshop.Presentation.CollectControl.ReadPayment"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
	Title="ReadPayment" xmlns:my="clr-namespace:University.Workshop.Presentation.ControlWPF" Loaded="Page_Loaded"
      xmlns:ViewsConverter="clr-namespace:University.Workshop.Presentation.ViewsConverter">
    <Grid>
        <Grid Height="563" Width="780"  
          HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,2,0,0">
            <Path Data="F1M89,500C86.791,500,85,501.791,85,504L85,504L85,538C85,540.209,86.791,542,89,542L89,542L1081,542C1083.209,542,1085,540.209,1085,538L1085,538L1085,504C1085,501.791,1083.209,500,1081,500L1081,500z" Height="50" Margin="20,0,12,459" Stretch="Fill" Stroke="#FFB6BDBA" VerticalAlignment="Bottom">
                <Path.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFF0F9F6" Offset="0" />
                        <GradientStop Color="sc#1, 0.8645034, 0.9386971, 0.9131128" Offset="0.036626586095394487" />
                        <GradientStop Color="sc#1, 0.849580646, 0.919979036, 0.8946999" Offset="0.046193367402403762" />
                        <GradientStop Color="sc#1, 0.8297841, 0.8951477, 0.8702733" Offset="0.052599494473647423" />
                        <GradientStop Color="sc#1, 0.8061086, 0.86545074, 0.8410604" Offset="0.057584354782454161" />
                        <GradientStop Color="sc#1, 0.7912979, 0.8468732, 0.822785735" Offset="0.059999998658895493" />
                        <GradientStop Color="#FFE6EDEA" Offset="0.059999998658895493" />
                        <GradientStop Color="#FFE6EDEA" Offset="1" />
                    </LinearGradientBrush>
                </Path.Fill>
            </Path>
            <TextBlock FontSize="21" FontWeight="Bold" Margin="28,62,0,467" TextWrapping="Wrap" HorizontalAlignment="Left" Width="217"><TextBlock.Effect><DropShadowEffect BlurRadius="1" Color="White" Direction="270" Opacity="0.7" ShadowDepth="1" /></TextBlock.Effect> <Run Language="es-es" Text="Ver Cobro" /></TextBlock>
            <DataGrid HeadersVisibility="None" 
                  AutoGenerateColumns="False"  
                  CanUserAddRows="False"
                  Height="298" 
                  HorizontalAlignment="Center"
                  Margin="117,180,121,0" 
                  Name="ChargeFindedDgv"
                  VerticalAlignment="Top" 
                  SelectionMode="Single"
                  IsHitTestVisible="False"
                  IsManipulationEnabled="False"
                  Width="542" >
                
                <DataGrid.RowStyle>
                    <Style TargetType="DataGridRow">
                        <Setter Property="Height" Value="30"/>
                    </Style>
                </DataGrid.RowStyle>
                <DataGrid.Columns>
                    <DataGridTemplateColumn Header="estructura" Width="340">
                        <DataGridTemplateColumn.CellTemplate>
                            <DataTemplate>
                                <Label Content="{Binding Estructura }" Height="16" VerticalContentAlignment="Center" Style="{StaticResource DataGridLabel}"/>
                            </DataTemplate>
                        </DataGridTemplateColumn.CellTemplate>
                    </DataGridTemplateColumn>

                    <DataGridTemplateColumn Header="Date" Width="115">
                        <DataGridTemplateColumn.CellTemplate>
                            <DataTemplate>
                                <Label Content="{Binding DateGenerated }" Height="16" VerticalContentAlignment="Center" Style="{StaticResource DataGridLabel}"/>
                            </DataTemplate>
                        </DataGridTemplateColumn.CellTemplate>
                    </DataGridTemplateColumn>

                    <DataGridTemplateColumn Header="Amount" Width="85">
                        <DataGridTemplateColumn.CellTemplate>
                            <DataTemplate>
                                <Label Content="{Binding PaymentAmount }" Height="16" VerticalContentAlignment="Center" Style="{StaticResource DataGridLabel}"/>
                            </DataTemplate>
                        </DataGridTemplateColumn.CellTemplate>
                    </DataGridTemplateColumn>
                </DataGrid.Columns>
            </DataGrid>
            <Rectangle Fill="#43000000" Height="25" HorizontalAlignment="Left" Margin="117,149,0,0" Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="542" />
            <Label Content="Concepto" Height="28" HorizontalAlignment="Left" Margin="126,153,0,0" Name="label2" VerticalAlignment="Top" />
            <Label Content="Fecha" Height="28" HorizontalAlignment="Left" Margin="463,152,0,0" Name="label17" VerticalAlignment="Top" Width="54" />
            <Label Content="Monto" Height="28" HorizontalAlignment="Left" Margin="576,152,0,0" Name="label7" VerticalAlignment="Top" Width="54" />

            <Label Content="Total Pagado   Bs." Height="27" Margin="480,494,199,0" Name="label3" VerticalAlignment="Top" />
            <Label Content="-" Height="27" HorizontalAlignment="Left" Margin="585,494,0,0" Name="TotalAmountLbl" VerticalAlignment="Top" />

            <Label Content="CI Socio (Kardex):" Height="28" Margin="36,119,639,0" Name="label4" VerticalAlignment="Top" />
            <Label Content="-" Height="28" HorizontalAlignment="Left" Margin="146,0,0,416" Name="KardexLbl" VerticalAlignment="Bottom" />

            <Label Content="Fecha del Pago:" Height="28" Margin="517,119,0,0" Name="label8" VerticalAlignment="Top" HorizontalAlignment="Left" Width="89" />
            <Label Content="-" Height="28" HorizontalAlignment="Left" Margin="616,119,0,0" Name="PaymentDateLbl" VerticalAlignment="Top" />

            <!--<Label Content="ID Pago" Height="28" HorizontalAlignment="Left" Margin="346,87,0,0" Name="label1" VerticalAlignment="Top" />
            <Label Content="-" Height="28" HorizontalAlignment="Left" Margin="429,87,0,0" Name="PaymentIdLbl" VerticalAlignment="Top" />
            <Label Content="Pagos" Height="28" HorizontalAlignment="Left" Margin="346,117,0,0" Name="label5" VerticalAlignment="Top" />
            <Label Content="-" Height="28" HorizontalAlignment="Left" Margin="429,117,0,0" Name="ChargesLbl" VerticalAlignment="Top" />-->

            <Label Content="Socio:" Height="28" Margin="255,119,491,0" Name="label1" VerticalAlignment="Top" />
            <Label Content="-" Height="28" HorizontalAlignment="Left" Margin="300,119,0,0" Name="SocioLbl" VerticalAlignment="Top" />
        </Grid>



    </Grid>
</Page>

          
